package com.swjd.jingle.pojo;

import java.util.List;

public class MyType {

    private int typeID;
    private String tName;
    private Object superID;
    private Object type;
    private List<TypeListBean> typeList;

    public int getTypeID() {
        return typeID;
    }

    public void setTypeID(int typeID) {
        this.typeID = typeID;
    }

    public String getTName() {
        return tName;
    }

    public void setTName(String tName) {
        this.tName = tName;
    }

    public Object getSuperID() {
        return superID;
    }

    public void setSuperID(Object superID) {
        this.superID = superID;
    }

    public Object getType() {
        return type;
    }

    public void setType(Object type) {
        this.type = type;
    }

    public List<TypeListBean> getTypeList() {
        return typeList;
    }

    public void setTypeList(List<TypeListBean> typeList) {
        this.typeList = typeList;
    }

    public static class TypeListBean {
        /**
         * typeID : 21
         * tName : 苹果
         * superID : 1
         * type : null
         */

        private int typeID;
        private String tName;
        private int superID;
        private Object type;

        public int getTypeID() {
            return typeID;
        }

        public void setTypeID(int typeID) {
            this.typeID = typeID;
        }

        public String getTName() {
            return tName;
        }

        public void setTName(String tName) {
            this.tName = tName;
        }

        public int getSuperID() {
            return superID;
        }

        public void setSuperID(int superID) {
            this.superID = superID;
        }

        public Object getType() {
            return type;
        }

        public void setType(Object type) {
            this.type = type;
        }

        @Override
        public String toString() {
            return "TypeListBean{" +
                    "typeID=" + typeID +
                    ", tName='" + tName + '\'' +
                    ", superID=" + superID +
                    ", type=" + type +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "MyType{" +
                "typeID=" + typeID +
                ", tName='" + tName + '\'' +
                ", superID=" + superID +
                ", type=" + type +
                ", typeList=" + typeList +
                '}';
    }
}
